<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入商品名称"
                                       v-model="queryStockManageInfo.conditions.prodName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入商品编号"
                                       v-model="queryStockManageInfo.conditions.productId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <select class="custom-select" v-model="queryStockManageInfo.conditions.state">
                                <option selected disabled value="">请选择状态</option>
                                <option v-for="(item,index) in queryStockManageInfo.states" :key="index"
                                        v-bind:value="item.statusCd">{{item.name}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryShopHouseMethod()">
                                <i class="fa fa-search"></i> 查询
                            </button>
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_resetShopHouseMethod()">
                                <i class="fa fa-repeat"></i> 重置
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>库存查询</h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th class="text-center">仓库</th>
                            <th class="text-center">商品名称</th>
                            <th class="text-center">商品条码</th>
                            <th class="text-center">商品规格</th>
                            <th class="text-center">商品单位</th>
                            <th class="text-center">商品编号</th>
                            <th class="text-center">库存</th>
                            <th class="text-center">进货次数</th>
                            <th class="text-center">退货次数</th>
                            <th class="text-center">将过期</th>
                            <th class="text-center">耗损</th>
                            <th class="text-center">状态</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="inoutOrder in queryStockManageInfo.inoutOrders">
                            <td class="text-center">{{inoutOrder.shName}}</td>
                            <td class="text-center">{{inoutOrder.prodName}}</td>
                            <td class="text-center">{{inoutOrder.barCode}}</td>
                            <td class="text-center">{{inoutOrder.defaultSpecValue.specName}}</td>
                            <td class="text-center">{{inoutOrder.unitName}}</td>
                            <td class="text-center">{{inoutOrder.productId}}</td>
                            <td class="text-center">{{inoutOrder.defaultSpecValue.stock}}</td>
                            <td class="text-center">{{inoutOrder.inCount}}</td>
                            <td class="text-center">{{inoutOrder.outCount}}</td>
                            <td class="text-center">{{inoutOrder.inCount}}</td>
                            <td class="text-center">{{inoutOrder.outCount}}</td>
                            <td class="text-center">{{inoutOrder.stateName}}</td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="12">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>